<div class="searchContainer">
  <div class="search-sta">
    <div>
      共找到<span class="count">{{totalRecord}}</span>条结果
    </div>
  </div>
  <div class="list">
    <nz-checkbox-wrapper style="width: 100%;" (nzOnChange)="checksChange($event)">
      <!-- // 这里写结果列表 -->
      <div class="item" [ngClass]="{active: select === i }" *ngFor="let item of TableData; let i = index"
        (click)="flyTo(item, i)">
        <div class="item-right">
          <div class="right-top">
            <!-- <img src="./assets/img/sign/pin_{{i+1}}.png"> -->
            <div class="title">
              <label nz-checkbox [nzValue]="item?.properties.remarkid" *ngIf="deleItem"></label>
              <span class="des">
                <ng-container *ngIf="item?.properties.resolvestate===1; else tagTplState">
                  <nz-tag class="resolveStatus" [nzColor]="'geekblue'">已解决</nz-tag>
                </ng-container>
                <ng-template #tagTplState>
                  <nz-tag class="resolveStatus" [nzColor]="'purple'">未解决</nz-tag>
                </ng-template>
              </span>
              <!-- <i nz-icon nzType="unlock" nzTheme="outline"></i> -->
              <span [title]="item?.properties.title">{{item?.properties.title}}</span>
              <i *ngIf="yesterday < item?.properties.createtime">new</i>
            </div>
          </div>
        </div>
        <div class="right">
          <span class="des">
            <ng-container *ngIf="item?.properties.ispublic===1; else tagTpl">
              <nz-tag class="openTag" [nzColor]="'cyan'">公共</nz-tag>
            </ng-container>
            <ng-template #tagTpl>
              <nz-tag class="openTag" [nzColor]="'lime'">私有</nz-tag>
            </ng-template>
          </span>
        </div>
      </div>
    </nz-checkbox-wrapper>
  </div>
  <button nz-button *ngIf="!deleItem" (click)="openDel()">
    <i nz-icon nzType="delete" nzTheme="twotone"></i>
    删除
  </button>
  <button *ngIf="deleItem" nz-button nz-popconfirm nzPopconfirmTitle="是否删除选择项？" (nzOnCancel)="cancel()"
    (nzOnConfirm)="deleteItems()" nzType="primary">
    <i nz-icon nzType="check" nzTheme="outline"></i>
    提交
  </button>
</div>